package com.ruoyi.ui.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 王成龙
 * @date 2022/9/9-9:08
 */
public class UiListOrderVo {

    /** 拼单订单id */
    private Long listorderId;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paytype;

    /** 店铺名称 */
    @Excel(name = "店铺名称")
    private String shopName;

    /** 拼单商品名称 */
    @Excel(name = "拼单商品名称")
    private String listproName;

    /** 1 ：拼单商品 */
    @Excel(name = "1 ：拼单商品")
    private Integer listproType;

    /** 配送方式 1:商家配送 2：用户自提 */
    @Excel(name = "配送方式 1:商家配送 2：用户自提")
    private String deliveryType;

    /** 现价 */
    @Excel(name = "现价")
    private BigDecimal listproReprice;
    /** 描述 */
    @Excel(name = "描述")
    private String listproTitle;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String listproImg;

//    /** 地址id */
//    @Excel(name = "地址id")
//    private Long addrId;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickName;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String commentTitle;

    /** 分组 */
    @Excel(name = "分组")
    private Long group;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String listorderNum;

    /** 拼单发起时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拼单发起时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 拼单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拼单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 拼单成功时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "拼单成功时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date
            finshTime;

    /** 发货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发货时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date finallyTime;

    /** 数量 */
    @Excel(name = "数量")
    private Long count;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalprice;



    /** 状态 0:拼单失败1:待付款 2:待发货 3:待收货(已发货) 5:成功 6:待拼单7拼单成功 */
    @Excel(name = "状态 0:拼单失败1:待付款 2:待发货 3:待收货(已发货) 5:成功 6:待拼单7拼单成功")
    private Integer state;

    public Long getListorderId() {
        return listorderId;
    }

    public void setListorderId(Long listorderId) {
        this.listorderId = listorderId;
    }

    public String getPaytype() {
        return paytype;
    }

    public void setPaytype(String paytype) {
        this.paytype = paytype;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getListproName() {
        return listproName;
    }

    public void setListproName(String listproName) {
        this.listproName = listproName;
    }

    public Integer getListproType() {
        return listproType;
    }

    public void setListproType(Integer listproType) {
        this.listproType = listproType;
    }

    public String getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    public BigDecimal getListproReprice() {
        return listproReprice;
    }

    public void setListproReprice(BigDecimal listproReprice) {
        this.listproReprice = listproReprice;
    }

    public String getListproTitle() {
        return listproTitle;
    }

    public void setListproTitle(String listproTitle) {
        this.listproTitle = listproTitle;
    }

    public String getListproImg() {
        return listproImg;
    }

    public void setListproImg(String listproImg) {
        this.listproImg = listproImg;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getCommentTitle() {
        return commentTitle;
    }

    public void setCommentTitle(String commentTitle) {
        this.commentTitle = commentTitle;
    }

    public Long getGroup() {
        return group;
    }

    public void setGroup(Long group) {
        this.group = group;
    }

    public String getListorderNum() {
        return listorderNum;
    }

    public void setListorderNum(String listorderNum) {
        this.listorderNum = listorderNum;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getFinshTime() {
        return finshTime;
    }

    public void setFinshTime(Date finshTime) {
        this.finshTime = finshTime;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public Date getFinallyTime() {
        return finallyTime;
    }

    public void setFinallyTime(Date finallyTime) {
        this.finallyTime = finallyTime;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public BigDecimal getTotalprice() {
        return totalprice;
    }

    public void setTotalprice(BigDecimal totalprice) {
        this.totalprice = totalprice;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "ListOrderVo{" +
                "listorderId=" + listorderId +
                ", paytype='" + paytype + '\'' +
                ", shopName='" + shopName + '\'' +
                ", listproName='" + listproName + '\'' +
                ", listproType=" + listproType +
                ", deliveryType='" + deliveryType + '\'' +
                ", listproReprice=" + listproReprice +
                ", listproTitle='" + listproTitle + '\'' +
                ", listproImg='" + listproImg + '\'' +
                ", nickName='" + nickName + '\'' +
                ", commentTitle='" + commentTitle + '\'' +
                ", group=" + group +
                ", listorderNum='" + listorderNum + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", finshTime=" + finshTime +
                ", deliveryTime=" + deliveryTime +
                ", finallyTime=" + finallyTime +
                ", count=" + count +
                ", totalprice=" + totalprice +
                ", state=" + state +
                '}';
    }
}
